//
//  FreightStatisticsCell.m
//  NtoccShipper
//
//  Created by mac on 2019/11/21.
//  Copyright © 2019 zhuchongjin. All rights reserved.
//

#import "FreightStatisticsCell.h"
@interface FreightStatisticsCell()
@property (nonatomic,strong) CJLabel *labShipperName;
@property (nonatomic,strong) CJLabel *labConsigneeName;
@property (nonatomic,strong) CJLabel *labShipperDeliveryFee;
@property (nonatomic,strong) CJLabel *labTransportationCost;
@property (nonatomic,strong) CJLabel *labTaxPayFee;
@property (nonatomic,strong) CJLabel *labSettleTime;
@end
@implementation FreightStatisticsCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setCellInfoWithModel:(FreightStatistModel *)model{

//    shipperName   consigneeName   shipperDeliveryFee  transportationCost  taxPayFee  settleTime
    self.labShipperName.text = model.shipperName;
    self.labConsigneeName.text = model.consigneeName;
    self.labShipperDeliveryFee.text = @(model.shipperDeliveryFee).cj_money_description;
    self.labTransportationCost.text = @(model.transportationCost).cj_money_description;
    self.labTaxPayFee.text = @(model.taxPayFee).cj_money_description;
    self.labSettleTime.text = model.settleTime;
   
}

@end
